package cn.edu.sgu.www.mhxysy.entity.chongwu;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 宠物标签类型
 * @author 沐雨橙风ιε
 * @version 1.0
 */
@Data
@ApiModel
@TableName("chongwu_tag_category")
public class ChongwuTagCategory implements Serializable {
	private static final long serialVersionUID = 18L;

	@TableId(value = "id", type = IdType.AUTO)
	@ApiModelProperty(value = "ID")
	private Integer id;

	/**
	 * 标签名称
	 */
	@ApiModelProperty(value = "标签名称")
	private String name;

	/**
	 * 标签类型
	 * 0-顶级分类；1-第1个标签；2-第2个标签
	 */
	@ApiModelProperty(value = "标签类型")
	private Integer type;

	/*
	 * 父标签ID
	 */
	@ApiModelProperty(value = "父标签ID")
	private Integer parentId;
}